package com.groupsix.service;

import com.groupsix.entity.Student;
import com.groupsix.utils.PageInfo;

import java.util.List;

/**
 * @author 董盛昌
 * @Title: ${file_name}
 * @Package ${package_name}
 * @Description: 学生业务接口
 * @date 2021/10/17 10:50
 */
public interface StudentService {

    //分页查询
    public PageInfo findPageInfo(String sName, Integer sStudentid, Integer sClassid,
                                 String sClassname, Integer pageIndex, Integer pageSize);

    public int deleteStudent(Integer sId);   //通过id删除学生信息
    public int addStudent(Student student);   //添加学生信息
    public int updateStudent(Student student); //修改学生信息
    public Student findStudentById(Integer sId);
    public List<Student> getAll();

}
